package com.ita.ios.jms.protocol;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="merchant_audit")
public class MerchantAuditProtocol implements Serializable{
	
	@Id
	private String mId;
	@Column(columnDefinition = "int default 0", nullable=false)
	private int status;
	@Column(nullable=false)
	private Date createDate;
	
	public MerchantAuditProtocol() {
		super();
		// TODO Auto-generated constructor stub
	}

	public MerchantAuditProtocol(String mId, int status, Date createDate) {
		super();
		this.mId = mId;
		this.status = status;
		this.createDate = createDate;
	}

	public MerchantAuditProtocol(String mId, Date createDate) {
		super();
		this.mId = mId;
		this.createDate = createDate;
	}

	public String getmId() {
		return mId;
	}
	public void setmId(String mId) {
		this.mId = mId;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
}
